pc.get_model_repo
pc.get_model_repo(name=None)
Get the specified model repository by name and return as a model repo object.
Parameters:
name: str
Name of model repository to get.
Returns:
ModelRepo
Examples:
Get a model repo by name:
pc.list_model_repos()
# > [ModelRepo(id=5678, model_name=Titanic Model, latest_config={...}, latest_dataset=Dataset(id=1234, name=Titanic Dataset, ...),
# ModelRepo(id=2260, model_name=Fraud model, latest_config={...}, latest_dataset=Dataset(id=1235, name=Fraud Dataset, ...)]
repo = pc.get_model_repo('Titanic Model')